package com.shop.shoppingmall.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 钱包账户(ShWallet)实体类
 *
 * @author makejava
 * @since 2020-09-05 14:23:02
 */
public class ShWallet implements Serializable {
    private static final long serialVersionUID = 633344001991473499L;
    /**
     * 主键
     */
    private String id;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 专用币
     */
    private BigDecimal specialCoin;
    /**
     * 馨天币
     */
    private BigDecimal dayCoin;
    /**
     * 积分
     */
    private BigDecimal integral;
    /**
     * 支付密码
     */
    private String payPassword;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date creatTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date updateTime;

    private String loginName;

    private String realName;

    private Integer pagenum;
    private Integer pagesize;
    private Integer total;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public BigDecimal getSpecialCoin() {
        return specialCoin;
    }

    public void setSpecialCoin(BigDecimal specialCoin) {
        this.specialCoin = specialCoin;
    }

    public BigDecimal getDayCoin() {
        return dayCoin;
    }

    public void setDayCoin(BigDecimal dayCoin) {
        this.dayCoin = dayCoin;
    }

    public BigDecimal getIntegral() {
        return integral;
    }

    public void setIntegral(BigDecimal integral) {
        this.integral = integral;
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getPagenum() {
        return pagenum;
    }

    public void setPagenum(Integer pagenum) {
        this.pagenum = pagenum;
    }

    public Integer getPagesize() {
        return pagesize;
    }

    public void setPagesize(Integer pagesize) {
        this.pagesize = pagesize;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}
